import { configureStore } from '@reduxjs/toolkit';
import LoginAccountInfoReducer from '@/store/reducer/LoginAccountInfoReducer';

export const store = configureStore({
  reducer: {
    // 其他reducer...
    LoginAccountInfoReducer,
  },
});

// 导出类型化的 hooks
export type RootState = ReturnType<typeof store.getState>;
export type AppDispatch = typeof store.dispatch;
